<template>
  <div>
    <van-tabbar v-model="active" fixed active-color="#f5b400" placeholder >
      <van-tabbar-item icon="wap-home-o" to="/home" name="home">首页</van-tabbar-item>
      <van-tabbar-item icon="location-o"  to="/other/food" name="food">周边</van-tabbar-item>
      <van-tabbar-item icon="label-o"  to="/orderlist" name="orderlist">订单</van-tabbar-item>
      <van-tabbar-item icon="contact"  to="/personalcenter" name="personalcenter">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
import { Notify } from 'vant';
  export default {
    
    data() {
      return {
        active: this.$route.path.split('/').pop(),
      }
    },
    methods: {

    },
  }
</script>

<style lang="scss" scoped>

</style>